package com.hs.shirodemo2.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysRole {

    private Integer id;
    private String roleCode;
    private String roleName;
    private String description;
    private String del;

    /*
     * 关联属性：记录当前角色的相关权限编号列表
     */
    private List<Integer> permissionIdList;
}